AweBooking\Reservation\Item A

Total Complexity 70
Dependencies 4
Dependents 4
Total lines 594
Lines of code 203
Logical lines of code 98
Comment lines 298
Methods 42
Properties 13

Methods 42

Method Rating Maintainability Complexity Lines of code
sanitize_prop()
A
57 9 16
model()
S
61 4 12
update()
S
62 4 11
get()
S
65 3 9
set()
S
63 3 10
offsetExists()
S
66 3 9
generate_row_id()
S
68 2 7
get_price()
S
71 2 6
associate()
S
75 2 4
__construct()
S
71 2 6
get_price_discounted_with_tax()
S
71 2 6
get_price_discounted()
S
71 2 6
to_array()
S
65 2 9
set_option()
S
71 2 6
get_virtual_attributes()
S
78 1 3
attributes()
S
80 1 3
set_data()
S
77 1 4
toArray()
S
81 1 3
jsonSerialize()
S
81 1 3
sanitize_option()
S
80 1 3
offsetGet()
S
80 1 3
offsetSet()
S
80 1 3
offsetUnset()
S
80 1 3
__get()
S
80 1 3
set_options()
S
76 1 4
get_data()
S
82 1 3
get_tax()
S
82 1 3
get_row_id()
S
82 1 3
get_id()
S
82 1 3
get_name()
S
82 1 3
get_quantity()
S
80 1 3
get_tax_rates()
S
82 1 3
is_price_includes_tax()
S
82 1 3
get_total_tax()
S
80 1 3
data()
S
82 1 3
get_discount()
S
82 1 3
get_discounted()
S
80 1 3
get_subtotal()
S
80 1 3
get_total()
S
80 1 3
get_options()
S
82 1 3
get_option()
S
79 1 3
__set()
S
80 1 3